export default {
    setToken: (state, value) => {
        state.token = value;
        try {
            uni.setStorageSync('token', value);
        } catch (e) {
            // error
        }
    }
}